<template>
  <div class="list-detail">
    这里是详情页面 id 为
    <br/>
    ----------------{{id}}
    <Back/>
  </div>
</template>

<script>
import Back from '../../components/Back.vue'
export default {
  name: 'ListDetail',
  components:{
    Back
  },
  data(){
    return {
      id:null
    }
  },
  created(){
    this.id = this.$route.params.id
    console.log(this.$route.params.id)
  },
  methods:{
  }
}
</script>

<style>
.list-detail{
  min-height: 100%;
  width: 100%;
  color: #e4393c;
  font-size: 28px;
}

</style>